* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    --themeColor: #de4943;
    list-style: none;
}
.searchCenter {
    width: 100%;
    height: 100%;
    background-color: white;
    overflow: hidden;

    .categoryTop {
        width: 100%;
        height: 1.066667rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 0.266667rem;
        background-color: var(--themeColor);

        // 头部开始
        img {
            width: 0.8rem;
            height: 1.066667rem;
        }

        .title {
            font-size: 0.426667rem;
            color: white;
        }

        .lie {
            width: 0.8rem;
            height: 0.8rem;
            background: url(./images/headIcon.png) -150px 4px;
        }
    }

    // 头部结束
    // 搜索开始
    .search {
        width: 100%;
        height: 1.066667rem;
        border-bottom: 1px solid #ddd;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 0.266667rem;

        .inp {
            width: 90%;
            height: 0.746667rem;
            background-color: #ececec;
            border-radius: 0.133333rem;
            display: flex;
            align-items: center;

            em {
                display: block;
                width: 0.426667rem;
                height: 0.426667rem;
                background: url(./images/searchIcon2.png);
                background-size: 3.2rem 1.066667rem;
                background-position: -1.066667rem -0.426667rem;
                margin-left: 0.133333rem;
            }

            input {
                margin-left: 0.133333rem;
                width: 100%;
                height: 100%;
                outline: none;
                border: none;
                background-color: #ececec;
            }
        }
    }

    // 搜索结束


    // 搜索结果显示
    .searchRes {
        width: 100%;
        height: 100%;
        overflow-y: scroll;
        position: fixed;
        .searchRes_item{
            width: 100%;
           display: flex;
           
            border-bottom: 1px solid #ddd;
            height: 2.666667rem;
            .searchRes_item_pic img{
                width: 2.666667rem;
                height:2.666667rem;
            }
            .search_item_title{
                height: 2.666667rem;
                margin-left: 0.266667rem;
                padding-top: 0.266667rem;
            }
        }

    }

    // 热门分类开始
    .hotSearch {
        width: 100%;
        height: 6.666667rem;
        padding: 0 0.266667rem;

        .title {
            height: 0.64rem;
            margin-top: 0.213333rem;
            display: flex;
            align-items: center;

            em {
                display: block;
                width: 16px;
                height: 16px;
                background: url(./images/searchIcon2.png);
                background-size: 120px 40px;
                background-position: -62px 0;
            }

            .hot {
                font-size: 0.426667rem;
                margin-left: 0.106667rem;
            }
        }

        .hotItems {
            float: left;
            margin: 0.32rem 0.133333rem;
            padding: 0.053333rem 0.32rem;
            background-color: #f4f4f4;
            font-size: 0.373333rem;
            border-radius: 0.32rem;
        }
    }

    // 热门分类结束
    // 最近搜索开始
    .history {
        height: calc(100vh - 9.066667rem);

        .historyTit {
            height: 0.64rem;
            width: 100%;
            padding: 0 0.266667rem;
            margin-top: 0.266667rem;
            display: flex;
            align-items: center;
            justify-content: space-between;

            .left {
                display: flex;

                em {
                    display: block;
                    width:16px;
                    height: 16px;
                    background: url(./images/searchIcon2.png);
                    background-size: 120px 40px;
                    background-position: -84px 0;
                }

                span {
                    margin-left: 0.213333rem;
                    font-size: 0.426667rem;
                }
            }

            .clear {
                width: 18px;
                height: 18px;
                background: url(./images/searchIcon2.png);
                background-size: 120px 40px;
                background-position: -58px -17px;
            }
        }

        .historyItem {
            height: 1.2rem;
            margin-left: 0.933333rem;
            border-bottom: 1px solid #ddd;
            line-height: 1.2rem;
            font-size: 0.373333rem;
        }
    }

    //最近搜索结束

    // 显示开关
    .hiddenContent {
        display: none;
    }
}